<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>Canvas2D动效</title>
    <meta name="viewport" content="width=device-wdith,inital-scale=1" />
    <link rel="stylesheet" type="text/css" media="screen" href="main.css">

    <script src="node_modules/systemjs/dist/system.js"></script>
    <script src="node_modules/typescript/lib/typescript.js"></script>

    <script>
        System.config({
            transpiler: 'typescript',
            packages: {
                '/': {
                    defaultExtension: 'ts',
                }
            }
        });
        System.import('./main.ts')
            .then(null, console.error.bind(console));
    </script>
</head>

<body>
    <canvas id="canvas"></canvas>
</body>

</html>